package com.kingmed.kmss.admin.modules.ums.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * KMCS子公司名称及代码的对照表（需保留，加地址）
 * </p>
 *
 * @author wyl
 * @since 2023-03-17
 */
@Getter
@Setter
@TableName("ums_kmcs_org")
@ApiModel(value = "UmsKmcsOrg对象", description = "KMCS子公司名称及代码")
public class UmsKmcsOrg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("组织id")
    private Long orgId;

    @ApiModelProperty("组织代码（对应shr fid）")
    private String orgCode;

    @ApiModelProperty("组织名称")
    private String orgName;

    @ApiModelProperty("Kmcs子公司编码")
    private String kmcsCode;

    @ApiModelProperty("kmcs子公司名称")
    private String kmcsName;

    @ApiModelProperty("排序")
    private Long sort;

    @ApiModelProperty("组织简称")
    private String orgShortName;

    @ApiModelProperty("类型")
    private Integer orgLevel;

    @ApiModelProperty("组织父级code")
    private String orgParentCode;


}
